<template>
  <el-icon>
    <component :is="props.icon !== 'logo' ? props.icon : RBACAdmin" />
  </el-icon>
</template>

<script setup lang="ts">
import RBACAdmin from '@/assets/images/RBAC-admin.svg'

interface Props {
  icon: string
}

const props = defineProps<Props>()
</script>
